import Vue from "vue";
import Vuex from 'vuex'

Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
        currentIndex: 0
    },
    mutations: {
        indexChange(e, payload) {
            this.state.currentIndex = payload
        }
    },
    actions: {}
})
export default store
